package io.renren.modules.noc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* 订单
*
* @author zgw, 995115107@qq.cm
* @since 3.0 2022-04-23
*/
@Data
@ApiModel(value = "订单")
public class TOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "订单编号，大写字母D+时间戳+两位随机数")
    private String orderCode;
    @ApiModelProperty(value = "会员id")
    private Long accountId;
    @ApiModelProperty(value = "公司名称")
    private String company;
    @ApiModelProperty(value = "订单总额")
    private BigDecimal amount;
    @ApiModelProperty(value = "实际付款金额")
    private BigDecimal payAmount;
    @ApiModelProperty(value = "订单状态，参考EmOrderStatus类")
    private Integer orderStatus;
    @ApiModelProperty(value = "分期数，1表示全款")
    private Integer installment;
    @ApiModelProperty(value = "分期进度")
    private Integer progress;
    @ApiModelProperty(value = "下单时间")
    private Date createTime;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "取消原因")
    private String cancelReason;

}